package com.ddf.publics.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * (Commodity)实体类
 *
 * @author makejava
 * @since 2020-06-17 09:54:26
 */
public class Commodity implements Serializable {
    private static final long serialVersionUID = 596521000879464188L;
    /**
    * 
商品id
    */
    private Integer goodsId;
    /**
    * 商品名称
    */
    private String goodsName;
    /**
    * 商品类型
    */
    private Integer goodsType;
    /**
    * 商品价格
    */
    private Integer goodsPrice;
    /**
    * 商品发布时间
    */
    private Date releaseTime;
    /**
    * 商品图样
    */
    private String goodsImage;
    /**
    * 商品简介
    */
    private String goodsSynopsis;
    /**
    * 商品库存
    */
    private Integer goodsStock;
    /**
    * 商品出售数量
    */
    private Integer goodsSell;

    @Override
    public String toString() {
        return "Commodity{" +
                "goodsId=" + goodsId +
                ", goodsName='" + goodsName + '\'' +
                ", goodsType=" + goodsType +
                ", goodsPrice=" + goodsPrice +
                ", releaseTime=" + releaseTime +
                ", goodsImage='" + goodsImage + '\'' +
                ", goodsSynopsis='" + goodsSynopsis + '\'' +
                ", goodsStock=" + goodsStock +
                ", goodsSell=" + goodsSell +
                '}';
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public Integer getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(Integer goodsType) {
        this.goodsType = goodsType;
    }

    public Integer getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(Integer goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public Date getReleaseTime() {
        return releaseTime;
    }

    public void setReleaseTime(Date releaseTime) {
        this.releaseTime = releaseTime;
    }

    public String getGoodsImage() {
        return goodsImage;
    }

    public void setGoodsImage(String goodsImage) {
        this.goodsImage = goodsImage;
    }

    public String getGoodsSynopsis() {
        return goodsSynopsis;
    }

    public void setGoodsSynopsis(String goodsSynopsis) {
        this.goodsSynopsis = goodsSynopsis;
    }

    public Integer getGoodsStock() {
        return goodsStock;
    }

    public void setGoodsStock(Integer goodsStock) {
        this.goodsStock = goodsStock;
    }

    public Integer getGoodsSell() {
        return goodsSell;
    }

    public void setGoodsSell(Integer goodsSell) {
        this.goodsSell = goodsSell;
    }

}